package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.factory.RemoteLogFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: tsh
 * @Date: 2025/8/9 12:42
 * @Description: TODO
 **/
@FeignClient(contextId = "RemoteProdService", value = ServiceNameConstants.PROD_SERVICE, fallbackFactory = RemoteLogFallbackFactory.class)
public interface RemoteProdService {
    @GetMapping(value = "/prod/syncProd")
    public AjaxResult syncProd();


}
